package edu.bbu.commonproject.backend.server.services.thrift.communication;

import java.io.Serializable;

/**
 * The socket receip class.
 */
public class SocketReceip implements Serializable
{
	/** Initializing the serial version UID. */
	private static final long serialVersionUID = 8349033506555602167L;
	
	/** Initializing the OK. */
	public static final int OK = 1;
	
	/** Initializing the ERROR. */
	public static final int ERROR = 0;
	
	/** The status. */
	private int status;
	
	/**
	 * The constructor.
	 * @param status the status.
	 */
	public SocketReceip(int status)
	{
		this.status = status;
	}

	/**
	 * Sets the status number.
	 * @param status the status number.
	 */
	public void setStatus(int status)
	{
		this.status = status;
	}
	
	/**
	 * Gets the status number.
	 * @return the status number.
	 */
	public int getStatus()
	{
		return status;
	}
}
